Mollie\WooCommerce\Payment\OrderItemsRefunder S

Total Complexity 18
Dependencies 8
Dependents 3
Total lines 212
Lines of code 88
Logical lines of code 34
Comment lines 73
Methods 8
Properties 3

Methods 8

Method Rating Maintainability Complexity Lines of code
normalizedRemoteItems()
S
55 5 21
refund()
S
54 3 22
normalizedWooCommerceItemsList()
S
59 3 16
bailIfNoItemsToRefund()
S
65 3 10
__construct()
S
74 1 5
toRefundRemoteItems()
S
72 1 6
cancelOrderLines()
S
76 1 4
refundOrderLines()
S
75 1 4